package com.ysy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ysy.entity.Follow;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户关注表 Mapper 接口
 * </p>
 *
 * @author yangSy
 * @since 2025-04-26
 */
public interface FollowMapper extends BaseMapper<Follow> {

    List<Follow> selectCursorList(@Param("userId") Long userId,@Param("cursor") long cursor,@Param("pageSize") Integer pageSize);

    List<Follow> selectPageListByUserId(@Param("userId")Long userId,@Param("offset") long offset,@Param("pageSize") Integer pageSize);
}

